package day7.zuoye;

import java.util.Arrays;

public class Test05 {
    public static void main(String[] args) {
        int a[]={1,2,3,8,4};
        int b[]={1,2,3,8,4};
        boolean c=false;
        for (int i=0;i<a.length;i++){
            for (int j=0;j<b.length;j++){
                if (a.length==b.length&&a[i]==b[j]){
                    c=true;
                }
            }
        }
        if (!c){
            System.out.println("不相同");
        }else{
            System.out.println("相同");
        }
    }
}
